To view error messages
belonging to the current line, use the
flymake-display-err-menu-for-current-line function.
If there's at least one error or warning reported for the current
line, this function will display a popup menu with error/warning
texts. Selecting the menu item whose error belongs to another
file brings forward that file with the help of the
flymake-goto-file-and-line function.